package com.website.view.component
{
	import flash.display.Sprite;
	
	public class ScreenIcon extends Sprite
	{
		private var fsIcon:Sprite;
//		private var bg:Sprite;
		public function ScreenIcon(isBig:Boolean)
		{
			fsIcon = new Sprite();
			fsIcon.graphics.beginFill(7829367, 0.5);
			fsIcon.graphics.drawRect(0, 0, 17, 1);
			fsIcon.graphics.drawRect(0, 1, 1, 12);
			fsIcon.graphics.drawRect(16, 1, 1, 12);
			fsIcon.graphics.drawRect(1, 12, 15, 1);
			fsIcon.graphics.endFill();
			if(isBig)
			{
				fsIcon.graphics.beginFill(7829367, 1);
				fsIcon.graphics.drawRect(2, 2, 13, 1);
				fsIcon.graphics.drawRect(2, 3, 1, 8);
				fsIcon.graphics.drawRect(14, 3, 1, 8);
				fsIcon.graphics.drawRect(3, 10, 11, 1);
				fsIcon.graphics.endFill();
			}else
			{
				fsIcon.graphics.beginFill(7829367, 1);
				fsIcon.graphics.drawRect(4, 3, 9, 1);
				fsIcon.graphics.drawRect(4, 4, 1, 6);
				fsIcon.graphics.drawRect(12, 4, 1, 6);
				fsIcon.graphics.drawRect(5, 9, 7, 1);
				fsIcon.graphics.endFill();
			}
			fsIcon.graphics.beginFill(0xFFFFFF,0);
			fsIcon.graphics.drawRect(0,0,17,17);
			fsIcon.graphics.endFill();
			addChild(fsIcon);
		}
	}
}